package com.haierp.mapper.authority;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.AutoMapper;
import com.haierp.model.authority.RoleResourceHai;

/**
 * 
 * Title: IRoleResourceMapperHai.java
 * Description: 
 *
 * @author jc
 * Apr 21, 2017
 *
 */
public interface RoleResourceMapperHai extends AutoMapper<RoleResourceHai> {

    List<RoleResourceHai> queryByRoleId(@Param("roleId") Long roleId);

    List<Long> queryIdListByRoleId(@Param("roleId") Long roleId);
    
    List<Long> queryIdListByResourceId(@Param("resourceId") Long resourceId);
}
